package com.demo.servicelmpl;
import com.demo.mapper.PublicMapper;
import com.demo.service.PublicService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

/**
 * @author 李天航
 */
@Service
public class PublicServiceImpl implements PublicService {

    @Resource
    PublicMapper publicMapper;

    @Override
    public int getLastId() {
        return publicMapper.getLastId();
    }
}
